2025-10-04: Add scooter integration for interactive search and replace#63
Merged
john-mutuma merged 3 commits intodevelopfrom Oct 4, 2025
Merged
2025-10-04: Add scooter integration for interactive search and replace#63john-mutuma merged 3 commits intodevelopfrom
john-mutuma merged 3 commits intodevelopfrom
Conversation
added 3 commits
October 4, 2025 13:19
- Add scooter configuration file (scooter.config.toml) with Catppuccin Macchiato theme - Add Neovim plugin integration (plugins/scooter.lua) with: - Floating terminal window for scooter - Keymap <leader>s to open scooter - Visual mode keymap <leader>r to search selected text - Integration with nvim via EditLineFromScooter function - Add toggleterm.nvim dependency for terminal management - Update install.sh to: - Install scooter via Homebrew - Symlink scooter config to ~/.config/scooter/config.toml Signed-off-by: John Mutuma <johnmutuma@microsoft.com>
- Created dedicated keymap file following project conventions - Moved keymaps from inline definitions to customizations/keymaps/scooter.lua - Added :FindReplace user command for opening scooter terminal - Updated keymap handlers to use user command for consistency - Applied keymaps using common_utils.map() following project pattern - Changed function definitions to use Lua docstring format (---) Signed-off-by: John Mutuma <johnmutuma@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR integrates the scooter CLI tool into NairoVIM, providing an interactive search and replace experience in the terminal. Scooter is launched in a floating terminal window using toggleterm.nvim, with seamless integration between the terminal interface and Neovim's editing capabilities.
<leader>sto launch scooter in a floating window<leader>rto search for selected text in scooterEditLineFromScooterfunction to jump to files and linesWhy is it needed?
Scooter provides a powerful, interactive way to search and replace text across the codebase directly from the terminal, complementing the existing search capabilities in NairoVIM. The integration allows users to:
How have the changes been tested?
~/.config/scooter/config.toml<leader>skeymap<leader>rkeymap in visual modeScreenshots (if applicable)
N/A - Terminal-based integration
Checklist